<nz-modal [(nzVisible)]="Visible" [nzWidth]="operaWidth" [nzTitle]="popTitle" (nzOnCancel)="Cancel()" (nzOnOk)="Ok()">
    <div *ngIf="operaType === 'add' || operaType === 'edit'">
        <nz-descriptions nzBordered nzSize="small">
            <nz-descriptions-item nzTitle="提报部门 *" [nzSpan]="2">
                <nz-tree-select nzPlaceHolder="请选择提报部门" class="wd" [nzDropdownStyle]="treeNodeStyle"
                    [nzDropdownMatchSelectWidth]="false" [nzNodes]="tbbmNodes" [(ngModel)]="operaData.submitOrgId">
                </nz-tree-select>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="隐患名称 *" [nzSpan]="2">
                <input class="wd" nz-input placeholder="请输入隐患名称" [(ngModel)]="operaData.problemName" />
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="发现时间 *" [nzSpan]="2">
                <nz-date-picker class="wd" [(ngModel)]="operaData.discoverDate"></nz-date-picker>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="隐患等级 *" [nzSpan]="2">
                <nz-select nzAllowClear class="wd" nzPlaceHolder="请选择隐患等级" [(ngModel)]="operaData.problemLevel">
                    <nz-option *ngFor="let item of yhdjSelect" [nzLabel]="item" [nzValue]="item"></nz-option>
                </nz-select>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="隐患状况 *" [nzSpan]="2">
                <textarea class="wd" nz-input placeholder="请输入隐患状况" [(ngModel)]="operaData.problemDesc"
                    [nzAutosize]="{ minRows: 3, maxRows: 3 }"></textarea>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="原因分析 *" [nzSpan]="2">
                <textarea class="wd" nz-input placeholder="请输入原因分析" [(ngModel)]="operaData.reason"
                    [nzAutosize]="{ minRows: 3, maxRows: 3 }"></textarea>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="整治措施 *" [nzSpan]="2">
                <textarea class="wd" nz-input placeholder="请输入整治措施" [(ngModel)]="operaData.measure"
                    [nzAutosize]="{ minRows: 3, maxRows: 3 }"></textarea>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="整治目标或预期成效 *" [nzSpan]="2">
                <textarea class="wd" nz-input placeholder="请输入整治目标或预期成效" [(ngModel)]="operaData.goal"
                    [nzAutosize]="{ minRows: 3, maxRows: 3 }"></textarea>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="责任部门 *" [nzSpan]="2">
                <nz-tree-select nzPlaceHolder="请选择责任部门" class="wd" [nzDropdownStyle]="treeNodeStyle"
                    [nzDropdownMatchSelectWidth]="false" [nzNodes]="zrbmNodes" [(ngModel)]="operaData.chargeOrgId">
                </nz-tree-select>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="配合部门 *" [nzSpan]="2">
                <nz-tree-select nzPlaceHolder="请选择配合部门" class="wd" [nzDropdownStyle]="treeNodeStyle"
                    [nzDropdownMatchSelectWidth]="false" [nzNodes]="phbmNodes" [nzMultiple]="true"
                    [(ngModel)]="operaData.assistOrgId">
                </nz-tree-select>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="督办部门 *" [nzSpan]="2">
                <nz-tree-select nzPlaceHolder="请选择督办部门" class="wd" [nzDropdownStyle]="treeNodeStyle"
                    [nzDropdownMatchSelectWidth]="false" [nzNodes]="dbbmNodes" [(ngModel)]="operaData.superviceOrgId">
                </nz-tree-select>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="整改时限 *" [nzSpan]="2">
                <nz-date-picker class="wd" [(ngModel)]="operaData.deadline"></nz-date-picker>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="牵头领导 *" [nzSpan]="2">
                <input class="wd" nz-input placeholder="请输入牵头领导" [(ngModel)]="operaData.leader" />
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="整改进展情况 *" [nzSpan]="2">
                <textarea class="wd" nz-input placeholder="请输入整改进展情况" [(ngModel)]="operaData.handleInfo"
                    [nzAutosize]="{ minRows: 3, maxRows: 3 }"></textarea>
            </nz-descriptions-item>
        </nz-descriptions>
    </div>
    <div
        *ngIf="operaType === 'pz' || operaType === 'bh' || operaType === 'pzrk' || operaType === 'bhrk' || operaType === 'zgwt'">
        <textarea nz-input placeholder="请输入审批意见" [(ngModel)]="operaData.advice"
            [nzAutosize]="{ minRows: 5, maxRows: 5 }"></textarea>
    </div>
    <div *ngIf="operaType === 'del'">
        确定要{{operaText}}这 <span style="font-weight:bold;color:#ff0000">{{delData.count}}</span> 条数据吗？
    </div>
    <div *ngIf="operaType === 'sqxh' || operaType === 'sqrk'">
        确定要{{operaText}}这条数据吗？
    </div>
</nz-modal>